﻿using Factory.MasterData.Materials;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace Factory.MasterData.MaterialClassifications.Dto
{
    public class MaterialTreeDTO:EntityDto<int>
    {
        /// <summary>
        /// 名称  
        /// </summary>
        [StringLength(50)]
        public string SysName { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderID { get; set; }
        /// <summary>
        /// 物料/产品
        /// </summary>
        [StringLength(50)]
        public string Product { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int EnAbled { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 父级Id
        /// </summary>
        public int Pid { get; set; }
        //--------------------------------------------------------------------
        public List<MaterialTreeDTO> Children { get; set; }

    }
}
